﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xyz.BusinessObjects;

namespace Xyz.DataObjects.Interfaces
{
    public interface ICustomerDao
    {
        string GetCustomerTypeDescription(int customerType);
        List<Customer> GetCustomersLike(string firstName, string lastName);
        Customer LoginCustomer(string userName, string password);
        void CreateCustomer(Customer customer);
        void UpdateCustomer(Customer customer);
        bool IsUserNameExists(string userName);
        void SubtractMemberPoints(int customerId, int pointsToSubtract);
    }
}
